﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Practices.Composite.Modularity;
using Castle.Windsor;
using XWord.Fundamental.Presenters;
using XWord.GUI.Presenters.Interface;

namespace XWord.Fundamental
{
    public class Module : IModule
    {
        #region IModule Members

        private readonly IWindsorContainer _container;

        public Module(IWindsorContainer container)
        {
            _container = container;
        }

        public void Initialize()
        {
            _container.Resolve<XWord.GUI.Presenters.Adorns.WordAdornerPresenter>().Initialize();
            //_container.Resolve<IEtymaLibraryExplorerPresenter>().Show();
            //_container.Resolve<IEtymaCategoryExplorerPresenter>().Show();
           // _container.Resolve<ICategoryExplorerPresenter>().Show();
        }

        #endregion
    }
}
